package com.gzhryc.shared_device.bxscn.code.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 便携式储能电池类型
 * @version 2023-08-29
 */
@Table(name="dev_portable_energy_battery_type")
public class PortableEnergyBatteryType implements Serializable {

    private static final long serialVersionUID = 1L;

	@Id(auto = false)
    @Column(length = 32, notNull = true, note = "设备类型ID")
    protected String id;

    @Column(length = 64, notNull = true, note = "设备类型名称")
    protected String name;

    @Column(name = "thumbnail_img", length = 255, note = "设备类型图片")
    protected String thumbnailImg;

    @Column(name="battery_power",notNull = true, note = "电池功率")
    protected Integer batteryPower;

    @Column(name = "images", length = 1024, note = "设备介绍图片")
    protected String images;

    @Column(name = "update_date", autoUpdateTime = true, note = "最后修改时间")
    protected Date updateDate;

    @Column(name = "create_date", notNull = true)
    protected Date createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getThumbnailImg() {
        return thumbnailImg;
    }

    public void setThumbnailImg(String thumbnailImg) {
        this.thumbnailImg = thumbnailImg;
    }

    public Integer getBatteryPower() {
        return batteryPower;
    }

    public void setBatteryPower(Integer batteryPower) {
        this.batteryPower = batteryPower;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
